﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace AssetsSys.Dto.Assets
{
    public class AssetsQuertDto: RequestDto
    {
        /// <summary>
        /// 获取的状态名称
        /// </summary>
        public string StatusStr { get; set; }

        /// <summary>
        /// 状态名称
        /// </summary>
        public List<string> StatusName => StatusStr.Split(',').ToList();

        
        /// <summary>
        /// 资产编号
        /// </summary>
        public string AssetsNum { get; set; }

        /// <summary>
        /// 资产名称
        /// </summary>
        public string AssetsName { get; set; }

        /// <summary>
        /// 最小资产价值
        /// </summary>
        public decimal DecimalMin { get; set; }

        /// <summary>
        /// 最大资产价值
        /// </summary>
        public decimal DecimalMax { get; set; }

        /// <summary>
        /// 搜索的状态
        /// </summary>
        public Guid StatusId { get; set; }

        /// <summary>
        /// 资产类型
        /// </summary>
        public Guid TypeId { get; set; }

        /// <summary>
        /// 资产来源
        /// </summary>
        public Guid SourceId { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public Guid PrincipalUserId { get; set; }

        /// <summary>
        /// 负责部门
        /// </summary>
        public Guid PrincipalDepartmentId { get; set; }

        /// <summary>
        /// 入库人
        /// </summary>
        public Guid StorageUserId { get; set; }

        /// <summary>
        /// 入库部门
        /// </summary>
        public Guid StorageDepartmentId { get; set; }

    }
}
